//课程模型
const classTypeModel = require('../../models/class/type');
function listAll() {
  return new Promise(async (resolve, reject) => {
    try {
      const result = await classTypeModel.listAll();
      resolve(result);
    } catch (error) {
      reject(error);
    };
  })
}

module.exports = {
  listAll
}